<div class="cont">
    <style>
        .post_content {
            margin: auto;
            width: 700px;
            min-height: 500px;
            background: #fff;
            line-height: 24px;
            color: #333;
            font-size: 14px;
            font-family: "微软雅黑";
            margin-bottom: 20px;
            padding: 12px;
            min-height: 800px;
        }
        
        .post_content h2 {
            margin: 16px 0;
        }
        
        .fl {
            float: left;
        }
        
        .fr {
            float: right;
        }
        
        .abstract_img {
            margin: 16px auto;
            width: 90%;
        }
        
        .abstract_img img {
            width: 100%;
        }
        
        .abstract {
            overflow: hidden;
            margin: 12px 0;
        }
        
        .abstract .abstract_cont {
            padding: 0 30px;
        }
        
        .title_cont {
            color: #999;
            background: url(dist/images/divider_l.png) no-repeat left center;
            padding-left: 12px;
        }
        
        .title_cont a {
            color: #39a0ed;
            text-decoration: none;
        }
        
        .ml2 {
            margin-left: 1.2em;
        }
        
        .post {
            min-height: 600px;
        }
        
        .post p {
            text-indent: 2em
        }
        
        .download_atta {
            padding: 14px 0;
            border-top: 1px solid #e2e2e2;
            overflow: hidden;
        }
        
        .download_atta a {
            color: #39a0ed;
            text-decoration: none;
        }
        
        .addfile {
            margin-left: 12px;
        }
        
        .wangEditor-menu-container {
            display: none;
        }
        
        .wangEditor-container {
            border: none;
        }
        
        .wangEditor-container li {
            line-height: 2;
        }
    </style>
    <!-- 图文 -->
    <div class="post_content" ng-if="msg_type == 1">
        <div>当前位置：<span>{{shownodepath}}</span></div>
        <h2>{{firsttabmsg.title}}</h2>
        <div class="title_cont">
            <div><span>{{firsttabmsg.create_time}}</span>
                <span class="ml2">原文链接：<a href="{{firsttabmsg.artical_url}}">{{firsttabmsg.artical_url}}</a></span></div>
            <div>作者：<span>{{firsttabmsg.pen_name}}</span><span class="ml2">所属部门：</span><span>{{firsttabmsg.sector_name}}</span></div>
        </div>
        <div class="abstract_img">
            <img ng-if="is_display == 1" ng-src="{{firsttabmsg.first_page_image}}">
            <img ng-if="is_display == 2" src="dist/images/know_show.png">
        </div>
        <div class="abstract">
            <div><img src="dist/images/double_L.png"></div>
            <div class="abstract_cont">
                <b>摘要：</b><span>{{firsttabmsg.abstract}}</span>
            </div>
            <div class="fr"><img src="dist/images/double_R.png"></div>
        </div>
        <!--<div class="post">
            <div id="add_tempaltevalue" ng-model="firsttabmsg.content" contenteditable=false ng-Model="richtxtAdd" style="min-height:500px; "></div>
            <input type="hidden" id="add_tempalte" name="add_tempalte" />
        </div>-->
        <div class="post wangEditor-container">
            <div id="add_tempaltevalue" class="wangEditor-txt"></div>
            <input type="hidden" id="add_tempalte" name="add_tempalte" />
        </div>
        <div class="download_atta">
            <div class="fl">附件下载：</div>
            <div ng-repeat="file in files" class="fl addfile">
                <a type='text' herf="javascript:;" ng-click="DownSecondTabFile(file.knowledge_file_id)">{{file.file_original_name}}</a>
            </div>
        </div>
    </div>
    <!--文件-->
    <div class="post_content" ng-if="msg_type == 2">
        <div>当前位置：<span>{{shownodepath}}</span></div>
        <h2>{{secondmsg.title}}</h2>
        <div class="title_cont">
            <div><span>2017-03-17</span><span class="m12"> 作者：</span><span>{{secondmsg.pen_name}}</span><span class="ml2">所属部门：</span><span>{{secondmsg.sector_name}}</span></div>
        </div>
        <div class="download_atta">
            <div class="fl">附件下载：</div>
            <div ng-repeat="secfile in secondtabfile" class="fl addfile">
                <a type='text' ng-click="DownSecondTabFile(secfile.knowledge_file_id)">{{secfile.file_original_name}}</a>
            </div>
        </div>
    </div>
    <!--外链-->
    <div class="post_content" ng-if="msg_type == 3">
        <div>当前位置：<span>{{shownodepath}}</span></div>
        <h2>{{thirdttabmsg.title}}</h2>
        <div class="title_cont">
            <div><span>{{thirdttabmsg.create_time}}</span><span class="ml2">原文链接：<a href="{{thirdttabmsg.artical_url}}">{{thirdttabmsg.artical_url}}</a></span></div>

            <div>作者：<span>{{thirdttabmsg.pen_name}}</span><span class="ml2">所属部门：</span><span>{{thirdttabmsg.sector_name}}</span></div>
        </div>
        <!--<div class="abstract_img" ng-show="{{thirdttabmsg.first_page_image}}">
            <img ng-src="{{thirdttabmsg.first_page_image}}" width="108px" height="108px" />
        </div>-->
        <div class="abstract_img">
            <img ng-if="is_thirddisplay == 1" ng-src="{{thirdttabmsg.first_page_image}}">
            <img ng-if="is_thirddisplay == 2" src="dist/images/know_show.png">
        </div>
        <div class="abstract">
            <div><img src="dist/images/double_L.png"></div>
            <div class="abstract_cont">
                <b>摘要：</b><span>{{thirdttabmsg.abstract}}</span>
            </div>
            <div class="fr"><img src="dist/images/double_R.png"></div>
        </div>
    </div>
</div>
<script>
    $('#add_tempaltevalue').attr("contenteditable", false);
</script>